package com.gxa.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.modules.dto.AdvancedContract2DTO;
import com.gxa.modules.dto.AdvancedContractDTO;
import com.gxa.modules.dto.ContractDTO;
import com.gxa.modules.entity.CrmContract;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ContractMapper extends BaseMapper<CrmContract> {
    int updateContract(CrmContract crmContract);
    List<CrmContract> advancedQueryContracts(AdvancedContract2DTO advancedContract2DTO);
}
